<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>WLog: WLog::IOuter类参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- 制作者 Doxygen 1.5.8 -->
<script type="text/javascript">
<!--
function changeDisplayState (e){
  var num=this.id.replace(/[^[0-9]/g,'');
  var button=this.firstChild;
  var sectionDiv=document.getElementById('dynsection'+num);
  if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){
    sectionDiv.style.display='block';
    button.src='open.gif';
  }else{
    sectionDiv.style.display='none';
    button.src='closed.gif';
  }
}
function initDynSections(){
  var divs=document.getElementsByTagName('div');
  var sectionCounter=1;
  for(var i=0;i<divs.length-1;i++){
    if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){
      var header=divs[i];
      var section=divs[i+1];
      var button=header.firstChild;
      if (button!='IMG'){
        divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild);
        button=document.createElement('img');
        divs[i].insertBefore(button,divs[i].firstChild);
      }
      header.style.cursor='pointer';
      header.onclick=changeDisplayState;
      header.id='dynheader'+sectionCounter;
      button.src='closed.gif';
      section.id='dynsection'+sectionCounter;
      section.style.display='none';
      section.style.marginLeft='14px';
      sectionCounter++;
    }
  }
}
window.onload = initDynSections;
-->
</script>
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>首页</span></a></li>
      <li><a href="namespaces.html"><span>名字空间</span></a></li>
      <li class="current"><a href="annotated.html"><span>类</span></a></li>
      <li><a href="files.html"><span>文件</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>组合类型列表</span></a></li>
      <li><a href="classes.html"><span>组合类型索引</span></a></li>
      <li><a href="hierarchy.html"><span>类继承关系</span></a></li>
      <li><a href="functions.html"><span>组合类型成员</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespaceWLog.html">WLog</a>::<a class="el" href="classWLog_1_1IOuter.html">IOuter</a>
  </div>
</div>
<div class="contents">
<h1>WLog::IOuter类参考</h1><!-- doxytag: class="WLog::IOuter" -->Interface for output <a class="el" href="classWLog_1_1Record.html" title="记录类，记录一条信息的所有字段。">Record</a> with define Log Level.  
<a href="#_details">更多...</a>
<p>
<code>#include &lt;<a class="el" href="IOuter_8h-source.html">IOuter.h</a>&gt;</code>
<p>
被<a class="el" href="classWLog_1_1RegularOuter.html">WLog::RegularOuter</a>及<a class="el" href="classWLog_1_1XmlOuter.html">WLog::XmlOuter</a>继承.
<p>

<p>
<a href="classWLog_1_1IOuter-members.html">所有成员的列表。</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>公有成员</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWLog_1_1IOuter.html#3f23dc150584d0e60a6b10bba15a2ac5">IOuter</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWLog_1_1IOuter.html#ce48c896adf9eeef74e32c5409ca47c8">~IOuter</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWLog_1_1IOuter.html#365d36c3cebf1dfba571dd7d2a686413">noticeParpareOut</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">通知Outer准备要输出了, 做一些事前的工作，如XML可以在这里输出其申明。  <a href="#365d36c3cebf1dfba571dd7d2a686413"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWLog_1_1IOuter.html#7e635ff649baefb3685ca9a7868965b7">noticeEndOut</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">通知结束输出，做一些输出事后工作，如XML可以在这里输出根结点的结尾。  <a href="#7e635ff649baefb3685ca9a7868965b7"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWLog_1_1IOuter.html#ddd90dcabff0d77208866b6dd15fec8c">outRecord</a> (<a class="el" href="classWLog_1_1Record.html">Record</a> *pRecord, <a class="el" href="classWLog_1_1ILevel.html">ILevel</a> *pLevel)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">输出Record记录与Record对应的Level.  <a href="#ddd90dcabff0d77208866b6dd15fec8c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWLog_1_1IOuter.html#3f91ecc04385b4efafb7ca430a86d223">out</a> (string strOut)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">输出strOutLevel.  <a href="#3f91ecc04385b4efafb7ca430a86d223"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWLog_1_1IOuter.html#90c6aefd75e204e360245b9c4a14a4e4">outendl</a> ()=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">输出换行符.  <a href="#90c6aefd75e204e360245b9c4a14a4e4"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>详细描述</h2>
Interface for output <a class="el" href="classWLog_1_1Record.html" title="记录类，记录一条信息的所有字段。">Record</a> with define Log Level. 
<p>
all kinds of output class if the want to used by <a class="el" href="namespaceWLog.html">WLog</a>, needed implement this class. 
<p>在文件<a class="el" href="IOuter_8h-source.html">IOuter.h</a>第<a class="el" href="IOuter_8h-source.html#l00017">17</a>行定义。</p>
<hr><h2>构造及析构函数文档</h2>
<a class="anchor" name="3f23dc150584d0e60a6b10bba15a2ac5"></a><!-- doxytag: member="WLog::IOuter::IOuter" ref="3f23dc150584d0e60a6b10bba15a2ac5" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">WLog::IOuter::IOuter           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>在文件<a class="el" href="IOuter_8cpp-source.html">IOuter.cpp</a>第<a class="el" href="IOuter_8cpp-source.html#l00005">5</a>行定义。</p>

</div>
</div><p>
<a class="anchor" name="ce48c896adf9eeef74e32c5409ca47c8"></a><!-- doxytag: member="WLog::IOuter::~IOuter" ref="ce48c896adf9eeef74e32c5409ca47c8" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">WLog::IOuter::~IOuter           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>在文件<a class="el" href="IOuter_8cpp-source.html">IOuter.cpp</a>第<a class="el" href="IOuter_8cpp-source.html#l00010">10</a>行定义。</p>

</div>
</div><p>
<hr><h2>成员函数文档</h2>
<a class="anchor" name="365d36c3cebf1dfba571dd7d2a686413"></a><!-- doxytag: member="WLog::IOuter::noticeParpareOut" ref="365d36c3cebf1dfba571dd7d2a686413" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void WLog::IOuter::noticeParpareOut           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
通知Outer准备要输出了, 做一些事前的工作，如XML可以在这里输出其申明。 
<p>

<p>被<a class="el" href="classWLog_1_1XmlOuter.html#8da830dd28b2e209b207dbe366f946ba">WLog::XmlOuter</a>重载。</p>

<p>在文件<a class="el" href="IOuter_8cpp-source.html">IOuter.cpp</a>第<a class="el" href="IOuter_8cpp-source.html#l00015">15</a>行定义。</p>

</div>
</div><p>
<a class="anchor" name="7e635ff649baefb3685ca9a7868965b7"></a><!-- doxytag: member="WLog::IOuter::noticeEndOut" ref="7e635ff649baefb3685ca9a7868965b7" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void WLog::IOuter::noticeEndOut           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
通知结束输出，做一些输出事后工作，如XML可以在这里输出根结点的结尾。 
<p>

<p>被<a class="el" href="classWLog_1_1XmlOuter.html#f900b7a0f69de8a3d08ca40b7043c7c7">WLog::XmlOuter</a>重载。</p>

<p>在文件<a class="el" href="IOuter_8cpp-source.html">IOuter.cpp</a>第<a class="el" href="IOuter_8cpp-source.html#l00020">20</a>行定义。</p>

</div>
</div><p>
<a class="anchor" name="ddd90dcabff0d77208866b6dd15fec8c"></a><!-- doxytag: member="WLog::IOuter::outRecord" ref="ddd90dcabff0d77208866b6dd15fec8c" args="(Record *pRecord, ILevel *pLevel)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool WLog::IOuter::outRecord           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classWLog_1_1Record.html">Record</a> *&nbsp;</td>
          <td class="paramname"> <em>pRecord</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classWLog_1_1ILevel.html">ILevel</a> *&nbsp;</td>
          <td class="paramname"> <em>pLevel</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
输出Record记录与Record对应的Level. 
<p>
<dl compact><dt><b>参数:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"><tt>[in]</tt>&nbsp;</td><td valign="top"><em>pRecord</em>&nbsp;</td><td>需要输出的记录 </td></tr>
    <tr><td valign="top"><tt>[in]</tt>&nbsp;</td><td valign="top"><em>pLevel</em>&nbsp;</td><td>本记录对应的输出级别 </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>返回:</b></dt><dd>成功则返回true </dd></dl>

<p>在<a class="el" href="classWLog_1_1BlockOuter.html#88b3661c3ac239f1b12d9e1af4dd720a">WLog::BlockOuter</a>、<a class="el" href="classWLog_1_1RegularOuter.html#82847ab7979972ed1efa6283767ab135">WLog::RegularOuter</a>及<a class="el" href="classWLog_1_1XmlOuter.html#44bc2cb7e627fad755175ffd1a5f608b">WLog::XmlOuter</a>内被实现。</p>

</div>
</div><p>
<a class="anchor" name="3f91ecc04385b4efafb7ca430a86d223"></a><!-- doxytag: member="WLog::IOuter::out" ref="3f91ecc04385b4efafb7ca430a86d223" args="(string strOut)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool WLog::IOuter::out           </td>
          <td>(</td>
          <td class="paramtype">string&nbsp;</td>
          <td class="paramname"> <em>strOut</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
输出strOutLevel. 
<p>
<dl compact><dt><b>参数:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"><tt>[in]</tt>&nbsp;</td><td valign="top"><em>strOut</em>&nbsp;</td><td>需要输出的字符串 </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>返回:</b></dt><dd>成功则返回true </dd></dl>

<p>在<a class="el" href="classWLog_1_1RegularOuter.html#00bb054fa8cf40d3d2d32ba4c7cfbf57">WLog::RegularOuter</a>及<a class="el" href="classWLog_1_1XmlOuter.html#7a8c4c8fe086ddd6b3432763f1f11d6b">WLog::XmlOuter</a>内被实现。</p>

</div>
</div><p>
<a class="anchor" name="90c6aefd75e204e360245b9c4a14a4e4"></a><!-- doxytag: member="WLog::IOuter::outendl" ref="90c6aefd75e204e360245b9c4a14a4e4" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool WLog::IOuter::outendl           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
输出换行符. 
<p>
<dl class="return" compact><dt><b>返回:</b></dt><dd>成功则返回true </dd></dl>

<p>在<a class="el" href="classWLog_1_1RegularOuter.html#2b3bb8587520e12feab2072a85967f89">WLog::RegularOuter</a>及<a class="el" href="classWLog_1_1XmlOuter.html#cf344873172b152c53c41c67d9772d7f">WLog::XmlOuter</a>内被实现。</p>

</div>
</div><p>
<hr>该类的文档由以下文件生成：<ul>
<li><a class="el" href="IOuter_8h-source.html">IOuter.h</a><li><a class="el" href="IOuter_8cpp-source.html">IOuter.cpp</a></ul>
</div>
<hr>
<address style="align: right;">
  Generated on Mon Apr 6 21:09:01 2009 for WLog by 韦体东<img src="logo.png" align="middle"/></address>
</body>
</html>
